Cleantalk\Common\Helper D

Total Complexity 272
Dependencies 1
Dependents 6
Total lines 1,187
Lines of code 682
Logical lines of code 394
Comment lines 328
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
ipGet()
D
15
104 198
httpRequest()
C
31 29 103
ipMaskMatch()
B
41 18 54
httpMultiRequest()
A
41 14 52
arrayMergeSaveNumericKeysRecursive()
A
57 11 16
toUTF8()
A
54 9 20
httpGetHeaders()
S
51 7 25
dbPrepareParam()
S
54 7 21
ipV6Normalize()
S
55 7 16
fromUTF8()
S
59 7 13
dnsResolve()
S
58 6 15
ipValidate()
S
61 6 12
removeNonUTF8()
S
60 5 13
getMimeType()
S
61 4 11
ipV6Reduce()
S
65 4 8
ipResolve()
S
66 3 9
cidrValidate()
S
72 3 4
bufferCsvPopLineToArray()
S
63 3 10
bufferTrimAndClearFromEmptyLines()
S
64 3 10
dateValidate()
S
64 3 9
ipResolveCleantalks()
S
67 3 8
isJson()
S
77 2 3
ipIsCleantalks()
S
68 2 7
arrayMergeSaveNumericKeys()
S
70 2 6
bufferParseCsv()
S
66 2 8
ipMaskLongToNumber()
S
73 2 4
timeGetIntervalStart()
S
77 1 3
bufferCsvPopLine()
S
69 1 6
bufferCsvGetMap()
S
75 1 4
ipIsPrivateNetwork()
S
78 1 3
ipLong2ip()
S
67 1 7
getFilenameFromUrl()
S
75 1 4